home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Beta / Quicktime 2.0 Beta.iso / Programming Stuff / Interfaces / Universal Interfaces / Start.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-30  |  2.9 KB  |  144 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        Start.h
  3.  
  4.     Copyright:    © 1984-1993 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef __START__
  13. #define __START__
  14.  
  15. #ifndef __TYPES__
  16. #include <Types.h>
  17. /*    #include <ConditionalMacros.h>                                */
  18. /*    #include <MixedMode.h>                                        */
  19. /*        #include <Traps.h>                                        */
  20. #endif
  21.  
  22. #if defined(powerc) || defined (__powerc)
  23. #pragma options align=mac68k
  24. #endif
  25. struct SlotDev {
  26.     char                        sdExtDevID;
  27.     char                        sdPartition;
  28.     char                        sdSlotNum;
  29.     char                        sdSRsrcID;
  30. };
  31. #if defined(powerc) || defined(__powerc)
  32. #pragma options align=reset
  33. #endif
  34.  
  35. typedef struct SlotDev SlotDev;
  36.  
  37. #if defined(powerc) || defined (__powerc)
  38. #pragma options align=mac68k
  39. #endif
  40. struct SCSIDev {
  41.     char                        sdReserved1;
  42.     char                        sdReserved2;
  43.     short                        sdRefNum;
  44. };
  45. #if defined(powerc) || defined(__powerc)
  46. #pragma options align=reset
  47. #endif
  48.  
  49. typedef struct SCSIDev SCSIDev;
  50.  
  51. #if defined(powerc) || defined (__powerc)
  52. #pragma options align=mac68k
  53. #endif
  54. union DefStartRec {
  55.     SlotDev                        slotDev;
  56.     SCSIDev                        scsiDev;
  57. };
  58. #if defined(powerc) || defined(__powerc)
  59. #pragma options align=reset
  60. #endif
  61.  
  62. typedef union DefStartRec DefStartRec;
  63.  
  64. typedef DefStartRec *DefStartPtr;
  65.  
  66. #if defined(powerc) || defined (__powerc)
  67. #pragma options align=mac68k
  68. #endif
  69. struct DefVideoRec {
  70.     char                        sdSlot;
  71.     char                        sdsResource;
  72. };
  73. #if defined(powerc) || defined(__powerc)
  74. #pragma options align=reset
  75. #endif
  76.  
  77. typedef struct DefVideoRec DefVideoRec;
  78.  
  79. typedef DefVideoRec *DefVideoPtr;
  80.  
  81. #if defined(powerc) || defined (__powerc)
  82. #pragma options align=mac68k
  83. #endif
  84. struct DefOSRec {
  85.     char                        sdReserved;
  86.     char                        sdOSType;
  87. };
  88. #if defined(powerc) || defined(__powerc)
  89. #pragma options align=reset
  90. #endif
  91.  
  92. typedef struct DefOSRec DefOSRec;
  93.  
  94. typedef DefOSRec *DefOSPtr;
  95.  
  96. #ifdef __cplusplus
  97. extern "C" {
  98. #endif
  99.  
  100.  
  101. #if USES68KINLINES
  102. #pragma parameter  GetDefaultStartup(__A0)
  103. #endif
  104. extern pascal void GetDefaultStartup(DefStartPtr paramBlock)
  105.  ONEWORDINLINE(0xA07D);
  106.  
  107. #if USES68KINLINES
  108. #pragma parameter  SetDefaultStartup(__A0)
  109. #endif
  110. extern pascal void SetDefaultStartup(DefStartPtr paramBlock)
  111.  ONEWORDINLINE(0xA07E);
  112.  
  113. #if USES68KINLINES
  114. #pragma parameter  GetVideoDefault(__A0)
  115. #endif
  116. extern pascal void GetVideoDefault(DefVideoPtr paramBlock)
  117.  ONEWORDINLINE(0xA080);
  118.  
  119. #if USES68KINLINES
  120. #pragma parameter  SetVideoDefault(__A0)
  121. #endif
  122. extern pascal void SetVideoDefault(DefVideoPtr paramBlock)
  123.  ONEWORDINLINE(0xA081);
  124.  
  125. #if USES68KINLINES
  126. #pragma parameter  GetOSDefault(__A0)
  127. #endif
  128. extern pascal void GetOSDefault(DefOSPtr paramBlock)
  129.  ONEWORDINLINE(0xA084);
  130.  
  131. #if USES68KINLINES
  132. #pragma parameter  SetOSDefault(__A0)
  133. #endif
  134. extern pascal void SetOSDefault(DefOSPtr paramBlock)
  135.  ONEWORDINLINE(0xA083);
  136. extern pascal void SetTimeout(short count);
  137. extern pascal void GetTimeout(short *count);
  138. #ifdef __cplusplus
  139. }
  140. #endif
  141.  
  142. #endif
  143.  
  144.